package org.springmole.business.service;

import org.springmole.business.bean.DbConnection;
import org.springmole.business.bean.QueryRequest;
import org.springmole.business.bean.Result;
import org.springmole.business.bean.ResultData;
import org.springmole.common.GeneralXMLException;


public interface SpringMoleService {
	
	public Result<? extends ResultData> openDbConnection(DbConnection dbConnection);
	
	public Result<? extends ResultData> openSchema(DbConnection dbConnection, String schemaName);
	
	public Result<? extends ResultData> executeQuery(QueryRequest queryRequest) throws GeneralXMLException;
	
}
